<%@ page contentType="text/html; charset=UTF-8"%>
<%
if (session.getAttribute("Succ") != null) {
%>
<script type="text/javascript">
var msecs = 500; //改变时间得到不同的闪烁间隔；
      var counter = 0; 
      function soccerOnload() {
      setTimeout("blink()", msecs);
    }
    function blink() {
      var so=document.getElementById("soccer");
      so.style.visibility =
      (so.style.visibility == "hidden") ? "visible" : "hidden";
      counter +=1;
      setTimeout("blink()", msecs);
    }
    function msgPrompt(isShow) {
      soccerOnload();
        var pm = document.getElementById('promptMessage');
        pm.style.position = 'absolute';
        pm.style.display = isShow;
        var l = (window.screen.width - 300)/2;
        var t = (window.screen.height-200)/3;
        pm.style.left = l + 'px';
        pm.style.top = t + 'px';
      
       // setTimeout("msgPrompt('none')", 10000);
        if(isShow=='none') {
          pm.innerHTML = '';
        }
  }
  
    function hd(divId) {
      var objDiv = document.getElementById(divId);
        objDiv.style.display = "none";
  }
</script>
<div class="message" id="promptMessage" style="border:#000 1px solid; padding:5px; background-color: #E6EEFF;width:250px;height:260px;">
    <div style="border:#000099 1px dotted; width:100%; height:100%;">
 <div  style="position:relative; top:10; font-size:15pt; font-family: Arial ; color: black; filter: 
glow(color=ffff00, strength=5)">
    <h4>
      <%=session.getAttribute("Succ").toString()%>
    </h4>
    <div id="soccer">
    <img src="${ctx }/images/successes/money.gif" border="0" />
    </div>
  </div>
  <embed src="${ctx }/images/successes/dog.mid" style="visibility:hidden" type="application/x-mplayer2" width="1" height="1"></embed>
<center>
<br>
<a href="javascript:hd('promptMessage');">【关闭】</a></center>
</div>
</div>
<script>msgPrompt('block');</script>
<%
session.removeAttribute("Succ");
	}
%>
